package com.itwxz.games.service;

import com.itwxz.common.core.domain.R;
import com.itwxz.games.domain.undercover.UCreateRoomInfo;
import com.itwxz.games.domain.undercover.UIdentity;
import com.itwxz.games.domain.undercover.URoom;
import com.itwxz.games.domain.undercover.UndercoverWord;

public interface UndercoverService {
    UndercoverWord getWords();

    URoom createRoom(UCreateRoomInfo info);

    UIdentity joinRoom(String roomId);

    R<Boolean> checkRoom(String roomId);

    R<Boolean> closeRoom(String roomId);

    UIdentity createRoomNoOwner(UCreateRoomInfo info);

    R<Boolean> checkRoomAndId(String roomId, String id);
}
